
from django.urls import path
from . import views

urlpatterns = [
    path('departments', views.department_list, name='department_list'),
    path('departments/<int:pk>', views.department_detail, name='department_detail'),
    path('departments/create', views.department_create, name='department_create'),
    path('departments/<int:pk>/update', views.department_update, name='department_update'),
    path('departments/<int:pk>/delete', views.department_delete, name='department_delete'),
]